//
//  ZTAnimationIndicator.h
//  ZTTaxSecond
//
//  Created by Zhengtong on 15/12/7.
//  Copyright © 2015年 Zhengtong. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZTAnimationIndicator : UIView
{
    UIImageView *imageView;
    UILabel *Infolabel;
}

@property (nonatomic, assign) NSString *loadtext;
@property (nonatomic, readonly) BOOL isAnimating;

//use this to init
- (id)initWithFrame:(CGRect)frame;
-(void)setLoadText:(NSString *)text;
- (void)startAnimation;
- (void)stopAnimationWithLoadText:(NSString *)text withType:(BOOL)type;
@end
